package com.wing.purchase.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wing.mybatis.common.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Description: 销售退换货信息详情
 * @Project: szgc-enterprise-coding
 * @Package: com.wing.sell.model.entity.SelGoodsLogisticsDetail
 * @Date: 2024/12/27 09:19
 * @Author: heZhou
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName(value = "pur_goods_logistics_detail")
public class PurGoodsLogisticsDetail extends BaseEntity<PurGoodsLogisticsDetail> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 退货申请id
     */
    private Long recordDetailId;

    /**
     * 总价格
     */
    private BigDecimal totalPrice;

    /**
     * 实发数
     */
    private BigDecimal realSendQuantity;

    /**
     * 实收数
     */
    private BigDecimal realGetQuantity;

    /**
     * 退换货id
     */
    private Long logisticsId;


    /**
     * skuCode
     */
    @TableField(exist = false)
    private String skuCode;

    /**
     * 销售订单id
     */
    @TableField(exist = false)
    private String skuSpec;

    /**
     * skuName
     */
    @TableField(exist = false)
    private String skuName;

    /**
     * 基础单位
     */
    @TableField(exist = false)
    private String mainUnitName;

    /**
     * skuId
     */
    @TableField(exist = false)
    private String skuId;

    /**
     * 退货数(主单位)
     */
    @TableField(exist = false)
    private BigDecimal mainQuantity;

    /**
     * 退货数(辅助单位)
     */
    @TableField(exist = false)
    private BigDecimal assistQuantity;

    /**
     * 单价
     */
    @TableField(exist = false)
    private BigDecimal unitPrice;
}
